package com.timoon.component.behavior.slidepic.slidepic1;

import org.apache.wicket.request.resource.JavaScriptResourceReference;

import com.googlecode.wicket.jquery.ui.JQueryBehavior;
import com.googlecode.wicket.jquery.ui.Options;

/**
 *<p></p>
 *<p></p>
 *<p>Copyright:Copyright(c)2013.4.1</p>
 *<p>Company:timoon</p>
 *@author 付乐天
 *@version 1.0 */
public class AbstractSlidepic1Behavior extends JQueryBehavior {

	public AbstractSlidepic1Behavior(String selector) {
		super(selector,"KinSlideshow", new Options(){{
			this.set("moveStyle","'down'");
			this.set("intervalTime", 4);
			this.set("mouseEvent", "'monseover'");
			this.set("titleFont", "{TitleFont_size:14,TitleFont_color:\"#FFFFFF\"}");
		}});
		// TODO Auto-generated constructor stub
		this.add(new JavaScriptResourceReference(this.getClass(), "jquery.KinSlideshow-1.2.1.min.js"));
	}

}
